package com.beifu.manager.api.token;

import org.apache.shiro.authc.UsernamePasswordToken;

//public class UserPassAuthenticationToken implements AuthenticationToken {
public class UserPassAuthenticationToken extends UsernamePasswordToken {
	 
	public UserPassAuthenticationToken(String username, String password) {  
        super(username, password);  
    } 
	
	 public UserPassAuthenticationToken(String username, String password, boolean rememberMe) {  
	        super(username, password, rememberMe);  
	 }  
	
	 public UserPassAuthenticationToken(String username, String password, boolean rememberMe, String host) {  
	        super(username, password, rememberMe, host);  
	 }  

	/*private String userName;
    private String password;
    
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public Object getPrincipal() {
		// TODO Auto-generated method stub
		return userName;
	}

	@Override
	public Object getCredentials() {
		// TODO Auto-generated method stub
		return password;
	}*/

}
